import TWEEN from "@tweenjs/tween.js";
import { AnimalViews } from "./move";

(function loop(){
    AnimalViews.map((item)=>{
        // console.log(item)
        if(item.isPlayAnimation){
            item.flushed()
        }
    })
    TWEEN.update();
    requestAnimationFrame(loop)
})()